<?php
/*
# ------------------------------------------------------------------------
# JD Base Theme
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
# Author: JoomlArt.com
# Websites: http://www.joomlart.com - http://www.joomlancers.com.
# ------------------------------------------------------------------------
*/
$fonts = Array ('inc'=>t('Increase font size'),'dec'=>t('Decrease font size'),'reset'=>t('Default font size'));
?>

<h3><?php echo t('Change Font Size')?></h3>
<div class="ja-box-usertools">
  <ul class="ja-usertools-font clearfix">
  <?php foreach ($fonts as $font=>$title) : ?>
  	<li class="font-<?php echo $font ?>"><a title="<?php echo $title ?>" onclick="switchFontSize('<?php echo $theme_key."_font";?>', '<?php echo $font ?>');return false;"><span><?php echo $title ?></span></a></li>
  <?php endforeach; ?>
  </ul>
</div>
<script type="text/javascript">
	var DefaultFontSize=parseInt('<?php echo $T3Params->getFront('font',3);?>');
	var CurrentFontSize=parseInt('<?php echo $T3Params->getFront('font',3);?>');
</script>